package com.lagou.novel_db_homework.mapper;

import com.lagou.novel_db_homework.pojo.Users;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface UsersMapper {
    @Insert("INSERT INTO users(username, `password`, address) VALUES(#{username}, #{password}, #{address})")
    public void insertUsers(Users users);
}
